package com.whj.apidriver.service;

import com.whj.internalcommon.dto.ResponseResult;
import com.whj.internalcommon.request.OrderRequest;
import com.whj.serviceorder.entity.OrderInfo;

/**
 * @Auther: wanghaijun
 * @Date: 2023/2/26 - 02 - 26 - 14:26 
 * @Description: com.whj.apidriver.service
 */

public interface OrderService {
    ResponseResult toPickUpPassenger(OrderRequest orderRequest);

    ResponseResult arriveDeparture(OrderRequest orderRequest);

    ResponseResult pickUpPassenger(OrderRequest orderRequest);

    ResponseResult passengerGetOff(OrderRequest orderRequest);

    ResponseResult cancel(Long orderId);

    ResponseResult<OrderInfo> detail(Long orderId);

    ResponseResult<OrderInfo> currentOrder(String phone, String driverIdentity);
}
